import React, { Component } from 'react';
import Routerview from '../../router/routerView';
import { Layout } from 'antd'
import MentList from '../../components/MenuList'
const { Content, Sider, Footer } = Layout

class Index extends Component {
	render() {
		const { routes } = this.props
		return (
			<Layout>
				<Sider>
					<MentList></MentList>
				</Sider>
				<Layout>
					<Content>
						<Routerview routes={routes}></Routerview>
					</Content>
					<Footer>2021-21-1日八维@后台管理系统</Footer>
				</Layout>
			</Layout>
		);
	}
}

export default Index;
